package com.xyh.transaction.entity.dto.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value = "用户登录实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginDto {

    @ApiModelProperty(value = "用户名",required = true,example = "zs")
    private String username;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码",required = true,example = "12345")
    private String password;

}
